package com.jai.pms.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 工序管理对象 pms_process
 * 
 * @author v
 * @date 2023-08-22
 */
public class Process extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 工序主键 */
    private Long id;

    /** 工序编码 */
    @Excel(name = "工序编码")
    private String code;

    /** 工序名称 */
    @Excel(name = "工序名称")
    private String name;

    /** 工序排序 */
    @Excel(name = "工序排序")
    private Integer sortNum;

    /** 工序标签 */
    @Excel(name = "工序标签")
    private String label;

    /** 工序键值 */
    @Excel(name = "工序键值")
    private String dataValue;

    /** 是否默认 */
    @Excel(name = "是否默认")
    private Integer isDefault;

    /** 状态 */
    @Excel(name = "状态")
    private Integer processStatus;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setCode(String code) 
    {
        this.code = code;
    }

    public String getCode() 
    {
        return code;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setSortNum(Integer sortNum) 
    {
        this.sortNum = sortNum;
    }

    public Integer getSortNum() 
    {
        return sortNum;
    }
    public void setLabel(String label) 
    {
        this.label = label;
    }

    public String getLabel() 
    {
        return label;
    }
    public void setDataValue(String dataValue) 
    {
        this.dataValue = dataValue;
    }

    public String getDataValue() 
    {
        return dataValue;
    }
    public void setIsDefault(Integer isDefault) 
    {
        this.isDefault = isDefault;
    }

    public Integer getIsDefault() 
    {
        return isDefault;
    }
    public void setProcessStatus(Integer processStatus) 
    {
        this.processStatus = processStatus;
    }

    public Integer getProcessStatus() 
    {
        return processStatus;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("code", getCode())
            .append("name", getName())
            .append("sortNum", getSortNum())
            .append("label", getLabel())
            .append("dataValue", getDataValue())
            .append("isDefault", getIsDefault())
            .append("processStatus", getProcessStatus())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
